package cn.edu.cqu.fredyvia.Format;

import org.apache.hadoop.io.NullWritable;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapreduce.lib.output.TextOutputFormat;

import java.io.IOException;

/*
 * 为了防止检测输出目录已经存在
 * */
public class TFOutputFormat
        extends TextOutputFormat<Text, NullWritable> {
    @Override
    public void checkOutputSpecs(org.apache.hadoop.mapreduce.JobContext job) throws IOException {
        return;
    }
}